import {HttpRequest} from "../../config/HttpRequest";
import {router}      from "../../config/router";

const Home = {
    /**
     * 首页初始化
     * @param requestData
     * @returns {Promise<unknown>}
     */
    async home_init(requestData = {}) {
        return HttpRequest.getRequest({
            method: "POST",
            url: router.home_swipe,
            data: requestData
        });
    },
};
export {Home};